package wangy.pvp.basiclibrary.basicType;

import java.util.ArrayList;
import java.util.List;

public class AssStateDeclaration extends AssBasicType{

	private String name;
	private List<String> statuses;
	
	public AssStateDeclaration(String name){
		this.name = name;
		statuses = new ArrayList<String>();
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public String getName(){
		return name;
	}
	
	public void addStatu(String status){
		statuses.add(status);
	}
	
	public boolean hasStatus(String status){
		return statuses.contains(status);
	}
}
